package com.example.socialwebserver.service;

import com.example.socialwebserver.pojo.*;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {
    public UserVO SelectById(Integer id);
    public boolean InsertUser(UserDAO userDAO);
    public boolean UpdateById(UserDAO userDAO);//更新用户信息
    public boolean DeleteById(Integer id);//登陆表中信息与用户表级联删除
    public List<UserDAO>SelectAll();
}
